c++为什么编辑cout<<无效
来源:百度知道 编辑:UC知道 时间:2024/09/22 04:14:31
为什么我编辑C++的时候写cout<<无效
我用的是C++6.0企业版 输入cont颜色不是关键字(不会变蓝) 其他都会就是输入和输出关键字不行
我用的是C++6.0企业版 输入cont颜色不是关键字(不会变蓝) 其他都会就是输入和输出关键字不行
#include <iostream>
using std::cout;
如果要使用cin和endl的话
那就再加
using std::cin;
using std::endl;
或者直接using namespace std;
cout 是函数
请问哪个函数是变蓝的。。。
要包含命名头文件
#include <iostream>
using namespace std;
你有没包含头文件 :
#include<iostream.h>
因为cout是包含在iostream.h里面的
#include <iostream>
using namespace std;
问题在讲具体些吧
C++cout<<'\a';是什么意思啊?
编程cout<<x+y为什么错?
c++的问题cout<<a<<setw(3)<<b<<setw(6)<<c<<enl;这句是什么意思啊
c++cout怎么不能输出?
const int t=1e3; cout<<t;为什么显示的数不是1000?
为何可以 cout<<endl;
在编写C++程序中为什么无法用Cout输出?
关于C语言的问题,cin cout
c++的问题cout<<a+1<<setw(3)<<b+2<<setw(6)<<c+3<<enl;这句是什么意思啊
cout<<' '<<i<<"*"<<j<<"="<<i*j<<' '单引号里为什么没有东西